| ColorManagement Xojo Plugin |
|
ICCColorProfile.FromMemoryBlock Method
Creates instance of the ICCColorProfile class from a MemoryBlock that contains valid ICCColorProfile data.
shared FromMemoryBlock(
mb
as MemoryBlock,
startOffset
as UInt32,
length
as Integer)
as ICCColorProfile
Parameters
- mb
- The memory block.
- startOffset
- Start offset in the MemoryBlock where the profile starts (zero based)
- length
- Length of the profile in bytes.
Returns
- ICCColorProfile
- The instance of the ICCColorProfile or nil if Error was detected. (Note in some cases error would not be detected if you feed trash MemoryBlock to it)
Remarks
See Also
ICCColorProfile Class